package request

type IDRequest struct {
	ID string `json:"id" form:"id" binding:"required"`
}

type BaseQueryRequest struct {
	Page      int    `json:"page" form:"page" example:"1" description:"页码"`
	Size      int    `json:"size" form:"size" example:"10" description:"每页大小"`
	Status    int    `json:"status" form:"status" example:"1" description:"状态"`
	OrderBy   string `json:"order_by" form:"order_by" example:"name" description:"排序字段"`
	OrderType string `json:"order_type" form:"order_type" example:"asc" description:"排序方式"`
}
